package me.blankm.wslib.common;


import me.blankm.wslib.icallback.ICallback;

/**
 * Author by Mr.Meng
 * created 2021/11/24
 *
 * @desc
 */
public class CallbackDataWrapper {

    private ICallback callback;

    private Object data;

    public CallbackDataWrapper(ICallback callback, Object data) {
        this.callback = callback;
        this.data = data;
    }

    public ICallback getCallback() {
        return callback;
    }


    public void setCallback(ICallback callback) {
        this.callback = callback;
    }


    public Object getData() {
        return data;
    }


    public void setData(Object data) {
        this.data = data;
    }
}
